package com.curso.sesion8;
import java.io.*;

public class Write1 {
  public static void main(String args[]) throws IOException {

    File fairy = new File("D:\\fileWritel4.txt");
    PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(
        fairy)));
    char[] write_array = { 'n', 'e', 'w', 's', 't', 'r', 'a', 'c', 'k',
        'i', 'n', 'd', 'i', 'a' };
    out.print("char array:  ");
    out.print(write_array);
    System.out.print("char array: ");
    System.out.println(write_array);
    out.flush();
  }
}